<template>
  <li class="item mt-10" style="height: 30px">
    <input type="text" v-model="keyword" @keyup="getKeyword" style="border:1px solid #ebebeb;height:25px;" placeholder="请输入仓库名称"/>
  </li>
</template>

<script>
import {ref} from 'vue';
export default { 

    setup() {
        const keyword = ref('');
        return {
            keyword
        }
    },

    methods: {
        getKeyword() { 
            this.$emit('getKeyword', this.keyword)
        }
    }
}
</script>